# Uses of Package
com.rscja.deviceapi

- Packages that use com.rscja.deviceapi
  Package | Description
  --- | ---
  com.rscja.custom |
  com.rscja.deviceapi |
  com.rscja.deviceapi.entity |
  com.rscja.deviceapi.interfaces |
  com.rscja.team.mtk.custom |
  com.rscja.team.mtk.deviceapi |
  com.rscja.team.qcom.ble |
  com.rscja.team.qcom.custom |
  com.rscja.team.qcom.deviceapi |
  com.rscja.team.qcom.uhfhandler |

- Classes in com.rscja.deviceapi used by com.rscja.custom
  Class and Description
  RFIDWithUHFUART UHF模块手持机，串口通信操作类 UHF module handheld, serial communication operation interface 第一步:通过`RFIDWithUHFUART.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFUART.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点标签先调用`RFIDWithUHFUART.setInventoryCallback(IUHFInventoryCallback inventoryCallback)`设置标签回调接口，有标签数据就会回调这个接口。 然后在调用`RFIDWithUHFUART.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFUART.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.deviceapi
  Class and Description
  Barcode1D 一维条码操作类 1D barcode operation class
  Barcode2D 二维条码操作类 2D barcode operation class.
  BleDevice BLE蓝牙的操作对象 1.通过`#connect(ConnectionStatusCallback` 来连接蓝牙，bleStatusCallback是蓝牙状态的连接回调 2.通过`BleDevice.setInventoryCallback(IUHFInventoryCallback inventoryCallback)` 标签数据回调接口。 3.通过`BleDevice.startInventoryTag()` 开始盘点，在盘点过程中，ble设备只会响应`BleDevice.stopInventory()` ()}函数，不能设置和获取ble设备的相关其他参数。 4.通过`BleDevice.stopInventory()` ()} 停止盘点
  BleDevice.BleDeviceInfo
  BluetoothReader 蓝牙读写器操作类： Bluetoot reader operation 第一步：调用`BluetoothReader.init(Context context)` 函数初始化蓝牙相关服务，退出应用程序需要调用`BluetoothReader.free()`是否蓝牙相关资源 First step: Call `BluetoothReader.init(Context context)`to initiate BT service, call `BluetoothReader.free()` to exit application.
  BluetoothReader.OnDataChangeListener 接收蓝牙原始数据的接口 Interface of receiving initial data.
  CardWithBYL 白玉兰公交卡操作类
  Fingerprint 指纹识别模块操作类, Fingerprint identify module operation type
  Fingerprint.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintSM206B SM206B 指纹模块操作接口 第一步:调用init(Context context) 函数初始化指纹模块 第二步:调用指纹相关接口,比如：search()，getDeviceVersion()... 第三步:调用free()释放指纹模块相关资源 示例代码: public void Test() { Context context; FingerprintSM206B fingerprintSM206B= FingerprintSM206B.getInstance(); boolean result= fingerprintSM206B.init(context); if(!result){ //init fail return; } fingerprintSM206B.getImage(); fingerprintSM206B.getFingerTemplate(); fingerprintSM206B.getDeviceVersion(); //...........
  FingerprintWithFIPS FIPS指纹识别模块操作类, FIPS fingerprint indentify module operation type,
  FingerprintWithFIPS.DataFormat 指纹数据格式 Fingerprint data format
  FingerprintWithFIPS.EnrollCallBack 采集指纹回调接口 call-back contact for acquiring fingerprint
  FingerprintWithFIPS.FingerprintInfo
  FingerprintWithFIPS.GRABCallBack 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithFIPS.IdentificationCallBack 验证指纹的回调接口 call-back contact of verify fingerprint
  FingerprintWithFIPS.PtCaptureCallBack 获取指纹模版数据回调接口 Acquire call-back contact fingerprint template data
  FingerprintWithFIPS.TemplateVerifyCallBack 指纹模版比对 fingerprint template comparison
  FingerprintWithMorpho
  FingerprintWithMorpho.EnrollCallBack 采集指纹回调接口 acquire fingerprint call-back contact
  FingerprintWithMorpho.GrabCallBack
  FingerprintWithMorpho.IdentificationCallBack 验证指纹的回调接口 call-back contact for fingerprint verification
  FingerprintWithMorpho.PtCaptureCallBack 设置获取指纹模版回调接口 setup fingerprint template acquire call-back contact
  FingerprintWithMorpho.TemplateVerifyCallBack
  FingerprintWithTLK1NC 迪安杰
  FingerprintWithTLK1NC.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithTLK1NC.IUPImageCallback 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithZAZ 指昂
  FingerprintWithZAZ.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  Infrared 红外模块操作类 Infared module operation type
  LedLight 手柄LED灯控制类 Handdeld LED control type
  Module
  Printer 打印机操作类 Printer operation type
  Printer.BarcodeType 1D条码类型
  Printer.PrinterStatus
  Printer.PrinterStatusCallBack
  PSAM PSAM操作类 PSAM operation type
  R1HFAndPsamManage R1设备高频和PSAM操作类 R1 device HF and PSAM operation interfaces 第一步:通过`R1HFAndPsamManage.connect(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`R1HFAndPsamManage.connect(Context context)` 第二步:获取相关接口对象`R1HFAndPsamManage.getHF14443A()`、`R1HFAndPsamManage.getHF14443B()`、`R1HFAndPsamManage.getHF15693()`、`R1HFAndPsamManage.getPSAM()` Step 2:Gets the associated interface object `R1HFAndPsamManage.getHF14443A()`、`R1HFAndPsamManage.getHF14443B()`、`R1HFAndPsamManage.getHF15693()`、`R1HFAndPsamManage.getPSAM()` Example Usage: public void HFDemo() {   R1HFAndPsamManage rfid = R1HFAndPsamManage.getInstance();   if (!rfid.connect(context)) {    //fail    return;   }   IHF14443A ihf14443A = rfid.getHF14443A();   IHF14443B ihf14443B = rfid.getHF14443B();   IHF15693 ihf15693 = rfid.getHF15693();   IPSAM ipsam = rfid.getPSAM();   HF14443RequestEntity entity = ihf14443A.requestTypeA();   if (entity == null) {    //"Card not found!"    return;   }   byte cMode = 0x60:A ; 0x61:B   byte cBlock;   byte[] txtKey;//6bytes   boolean reuslt = ihf14443A.authentication(cMode, cBlock, txtKey);   if (!reuslt) {    //The key validation fail    return;   }   //................
  RFIDBase
  RFIDWithISO14443A RFID模块ISO14443A协议操作类 RFID module ISO 14443A protocol operation type
  RFIDWithISO14443A.DESFireEncryptionTypekEnum DESFire卡加密类型 DESFire card encyption type
  RFIDWithISO14443A.DESFireFileTypekEnum DESFire卡文件类型 DESFire card file typr
  RFIDWithISO14443A.KeyType 密钥类型，适用于S50和S70标签。 key type, used for S50 and S70 tags.
  RFIDWithISO14443A.TagType M1标签类型定义 M1 tag type definition
  RFIDWithISO14443A4CPU RFID模块ISO14443A CPU卡协议操作类 RFID module ISO14443A CPU card protocol operation type
  RFIDWithISO14443B RFID模块ISO14443B协议操作类 RFID module ISO14443B protocol operation type
  RFIDWithISO15693 RFID模块ISO15693协议操作类, RFID module ISO15639 protocol operation type
  RFIDWithISO15693.TagType 标签类型 Tag type
  RFIDWithLF RFID低频（125K）操作类 RFID LF (125K) operation type
  RFIDWithUHFA4 UHF模块 A4操作类 UHF module operation type 第一步:通过`RFIDWithUHFA4.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFA4.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点标签先调用`RFIDWithUHFA4.setInventoryCallback(IUHFInventoryCallback inventoryCallback)`设置标签回调接口，有标签数据就会回调这个接口。 然后在调用`RFIDWithUHFA4.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFA4.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  RFIDWithUHFA4RS232 操作URA4设备以及UHF模块相关接口。(通过其他android设备控制A4) Operate URA4 devices and related interfaces of UHF modules. 操作步骤： Steps: 第一步：先通过`RFIDWithUHFA4RS232.setUart(String path)`设置要连接的IP地址, 再通过 `RFIDWithUHFA4RS232.init(Context context)`连接读写器串口。同时可以设置回调接口 `RFIDWithUHFA4RS232.setConnectionStatusCallback(ConnectionStatusCallback btStateCallback)`监听连接状态。 Step 1: Connect to the serial port of the reader via`RFIDWithUHFA4RS232.setUart(String path)`-> `RFIDWithUHFA4RS232.init(Context context)`.
  RFIDWithUHFA8 UHF模块 A8操作类 UHF module operation type 第一步:通过`RFIDWithUHFA8.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFA8.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点标签先调用`RFIDWithUHFA8.setInventoryCallback(IUHFInventoryCallback inventoryCallback)`设置标签回调接口，有标签数据就会回调这个接口。 然后在调用`RFIDWithUHFA8.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFA8.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  RFIDWithUHFA8RS232 操作URA8设备以及UHF模块相关接口。(通过其他android设备控制A8) Operate URA8 devices and related interfaces of UHF modules. 操作步骤： Steps: 第一步：先通过`RFIDWithUHFA8RS232.setUart(String path)`设置要连接的IP地址, 再通过 `RFIDWithUHFA8RS232.init(Context context)`连接读写器串口。同时可以设置回调接口 `RFIDWithUHFA8RS232.setConnectionStatusCallback(ConnectionStatusCallback btStateCallback)`监听连接状态。 Step 1: Connect to the serial port of the reader via`RFIDWithUHFA8RS232.setUart(String path)`-> `RFIDWithUHFA8RS232.init(Context context)`.
  RFIDWithUHFBLE UHF模块低功耗蓝牙操作类 UHF module operation type
  RFIDWithUHFBLEManage BLE设备读写器管理类，支持一对多连接 具体操作步骤: 1.通过`RFIDWithUHFBLEManage.getInstance()` 函数获取 RFIDWithUHFBLEManage对象 2.调用`RFIDWithUHFBLEManage.addBleDevice(String address, Context context)`添加BLE读写器设备，每个蓝牙地址作为设备的唯一标识 3.通过`RFIDWithUHFBLEManage.getBleDeviceByMac(String address)` 函数获取每一台蓝牙设备的操作对象 `com.rscja.deviceapi.BleDevice`。
  RFIDWithUHFRLM
  RFIDWithUHFUART UHF模块手持机，串口通信操作类 UHF module handheld, serial communication operation interface 第一步:通过`RFIDWithUHFUART.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFUART.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点标签先调用`RFIDWithUHFUART.setInventoryCallback(IUHFInventoryCallback inventoryCallback)`设置标签回调接口，有标签数据就会回调这个接口。 然后在调用`RFIDWithUHFUART.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFUART.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  RFIDWithUHFUrxUart URx 模块，串口通信操作类 URx module , serial communication operation interface 第一步:通过`RFIDWithUHFUrxUart.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFUrxUart.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点调用`RFIDWithUHFUrxUart.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFUrxUart.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  RFIDWithUHFUrxUsbToUart URx 模块，串口通信操作类 URx module , serial communication operation interface 第一步:通过`RFIDWithUHFUrxUsbToUart.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFUrxUsbToUart.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点调用`RFIDWithUHFUrxUsbToUart.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFUrxUsbToUart.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  RFIDWithUHFUSB UHF模块手持机，USB通信操作类 UHF module handheld, USB operation interface 第一步:通过`RFIDWithUHFUSB.init(Context context)` 连接读写器。 Step 1: Connect to the usb of the reader via`RFIDWithUHFUSB.init(Context context)` 第二步： 如果是设置参数，连接成功之后，调用对应的函数设置参数、读写操作。 如果是盘点调用`RFIDWithUHFUSB.startInventoryTag()`函数开始执行盘点。 注意: 在盘点标签的时候rfid模块只能响应`RFIDWithUHFUSB.stopInventory()`函数。 Step 2: If it is to set parameters, after the connection is successful, call the corresponding function to set parameters, read and write operations.
  ScanerLedLight 扫描LED灯控制类（仅C6000有效） Scanning LED light control type ( valid for C6000 only)
  UhfBase
  UsbFingerprint

- Classes in com.rscja.deviceapi used by com.rscja.deviceapi.entity
  Class and Description
  RFIDWithISO14443A.DESFireEncryptionTypekEnum DESFire卡加密类型 DESFire card encyption type
  RFIDWithISO14443A.DESFireFileTypekEnum DESFire卡文件类型 DESFire card file typr

- Classes in com.rscja.deviceapi used by com.rscja.deviceapi.interfaces
  Class and Description
  BleDevice.BleDeviceInfo
  BluetoothReader.OnDataChangeListener 接收蓝牙原始数据的接口 Interface of receiving initial data.
  Fingerprint.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithFIPS.DataFormat 指纹数据格式 Fingerprint data format
  FingerprintWithFIPS.EnrollCallBack 采集指纹回调接口 call-back contact for acquiring fingerprint
  FingerprintWithFIPS.FingerprintInfo
  FingerprintWithFIPS.GRABCallBack 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithFIPS.IdentificationCallBack 验证指纹的回调接口 call-back contact of verify fingerprint
  FingerprintWithFIPS.PtCaptureCallBack 获取指纹模版数据回调接口 Acquire call-back contact fingerprint template data
  FingerprintWithFIPS.TemplateVerifyCallBack 指纹模版比对 fingerprint template comparison
  FingerprintWithMorpho.EnrollCallBack 采集指纹回调接口 acquire fingerprint call-back contact
  FingerprintWithMorpho.GrabCallBack
  FingerprintWithMorpho.IdentificationCallBack 验证指纹的回调接口 call-back contact for fingerprint verification
  FingerprintWithMorpho.PtCaptureCallBack 设置获取指纹模版回调接口 setup fingerprint template acquire call-back contact
  FingerprintWithMorpho.TemplateVerifyCallBack
  FingerprintWithTLK1NC.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithTLK1NC.IUPImageCallback 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithZAZ.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  Printer.BarcodeType 1D条码类型
  Printer.PrinterStatusCallBack
  RFIDWithISO14443A.KeyType 密钥类型，适用于S50和S70标签。 key type, used for S50 and S70 tags.
  RFIDWithISO14443A.TagType M1标签类型定义 M1 tag type definition

- Classes in com.rscja.deviceapi used by com.rscja.team.mtk.custom
  Class and Description
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.team.mtk.deviceapi
  Class and Description
  FingerprintWithFIPS.DataFormat 指纹数据格式 Fingerprint data format
  FingerprintWithFIPS.EnrollCallBack 采集指纹回调接口 call-back contact for acquiring fingerprint
  FingerprintWithFIPS.FingerprintInfo
  FingerprintWithFIPS.GRABCallBack 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithFIPS.IdentificationCallBack 验证指纹的回调接口 call-back contact of verify fingerprint
  FingerprintWithFIPS.PtCaptureCallBack 获取指纹模版数据回调接口 Acquire call-back contact fingerprint template data
  FingerprintWithFIPS.TemplateVerifyCallBack 指纹模版比对 fingerprint template comparison
  FingerprintWithMorpho.EnrollCallBack 采集指纹回调接口 acquire fingerprint call-back contact
  FingerprintWithMorpho.GrabCallBack
  FingerprintWithMorpho.IdentificationCallBack 验证指纹的回调接口 call-back contact for fingerprint verification
  FingerprintWithMorpho.PtCaptureCallBack 设置获取指纹模版回调接口 setup fingerprint template acquire call-back contact
  FingerprintWithMorpho.TemplateVerifyCallBack
  FingerprintWithTLK1NC.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithTLK1NC.IUPImageCallback 指纹图像回调接口 fingerprint image call-back contact
  Printer.BarcodeType 1D条码类型
  Printer.PrinterStatusCallBack
  RFIDWithISO14443A.KeyType 密钥类型，适用于S50和S70标签。 key type, used for S50 and S70 tags.
  RFIDWithISO14443A.TagType M1标签类型定义 M1 tag type definition
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.team.qcom.ble
  Class and Description
  BluetoothReader.DecodeCallback
  BluetoothReader.OnDataChangeListener 接收蓝牙原始数据的接口 Interface of receiving initial data.
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.team.qcom.custom
  Class and Description
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.team.qcom.deviceapi
  Class and Description
  BleDevice.BleDeviceInfo
  BluetoothReader.DecodeCallback
  BluetoothReader.OnDataChangeListener 接收蓝牙原始数据的接口 Interface of receiving initial data.
  Fingerprint.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithFIPS.DataFormat 指纹数据格式 Fingerprint data format
  FingerprintWithFIPS.EnrollCallBack 采集指纹回调接口 call-back contact for acquiring fingerprint
  FingerprintWithFIPS.FingerprintInfo
  FingerprintWithFIPS.GRABCallBack 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithFIPS.IdentificationCallBack 验证指纹的回调接口 call-back contact of verify fingerprint
  FingerprintWithFIPS.PtCaptureCallBack 获取指纹模版数据回调接口 Acquire call-back contact fingerprint template data
  FingerprintWithFIPS.TemplateVerifyCallBack 指纹模版比对 fingerprint template comparison
  FingerprintWithMorpho.EnrollCallBack 采集指纹回调接口 acquire fingerprint call-back contact
  FingerprintWithMorpho.GrabCallBack
  FingerprintWithMorpho.IdentificationCallBack 验证指纹的回调接口 call-back contact for fingerprint verification
  FingerprintWithMorpho.PtCaptureCallBack 设置获取指纹模版回调接口 setup fingerprint template acquire call-back contact
  FingerprintWithMorpho.TemplateVerifyCallBack
  FingerprintWithTLK1NC.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  FingerprintWithTLK1NC.IUPImageCallback 指纹图像回调接口 fingerprint image call-back contact
  FingerprintWithZAZ.BufferEnum 模块缓冲区枚举 Module buffer zone example.
  RFIDWithISO14443A RFID模块ISO14443A协议操作类 RFID module ISO 14443A protocol operation type
  RFIDWithISO14443A.KeyType 密钥类型，适用于S50和S70标签。 key type, used for S50 and S70 tags.
  RFIDWithISO14443A.TagType M1标签类型定义 M1 tag type definition
  UhfBase

- Classes in com.rscja.deviceapi used by com.rscja.team.qcom.uhfhandler
  Class and Description
  BluetoothReader.DecodeCallback